﻿@model SienSchoofsProject.Models.ErrorModel

@{
    ViewBag.Title = Resources.ErrorPage;
}

@{
    string h1 = null;
    string bericht = null;
    switch (Model.HttpStatusCode)
    {
        case 404:
            h1 = "(404 Error)";
            bericht = Resources.Error404;
            break;
        case 500:
            h1 = "(Server Error)";
            bericht = Resources.Error500;
            break;
    }
 }

<hgroup class="title">
    <h1 class="error">@ViewBag.Title @Html.Raw(h1)</h1>
</hgroup>
<h3 class="error">@Resources.ErrorOccured</h3>

<br />
<div class="errorType">
    @Html.Raw(bericht)
</div>
<img src="@Url.Content("~/Images/error.jpg")" alt="" />